#pragma once

class Solution {
public:
    double myPow(double x, int n);

private:
    double slnBruteForce(double x, int n);

    double slnRecursion(double x, int n);
    double slnRecursionImpl(double x, long long n);

    double slnIteration(double x, int n);
};